import { request } from '@/common/utils.js'
import store from '@/store'

export function apiRegistAddRecord(parm) {
    return request({
        url: store.state.domainUrl + '/api/pointRegist/registAddRecord',
        method: 'post',
        data: parm
    })
}
export function apiRegistUseRecord(parm) {
    return request({
        url: store.state.domainUrl + '/api/pointRegist/registUseRecord',
        method: 'post',
        data: parm
    })
}
export function apiQuery(parm) {
    return request({
        url: store.state.domainUrl + '/api/pointRegist/query',
        method: 'post',
        data: parm
    })
}
export function apiQueryByMonth(parm) {
    return request({
        url: store.state.domainUrl + '/api/pointRegist/queryByMonth',
        method: 'post',
        data: parm
    })
}